package com.fanh.mapper;

import com.fanh.model.GuideFavorite;
import com.fanh.model.GuideFavoriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GuideFavoriteMapper {
    long countByExample(GuideFavoriteExample example);

    int deleteByExample(GuideFavoriteExample example);

    int deleteByPrimaryKey(String id);

    int insert(GuideFavorite record);

    int insertSelective(GuideFavorite record);

    List<GuideFavorite> selectByExample(GuideFavoriteExample example);

    GuideFavorite selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") GuideFavorite record, @Param("example") GuideFavoriteExample example);

    int updateByExample(@Param("record") GuideFavorite record, @Param("example") GuideFavoriteExample example);

    int updateByPrimaryKeySelective(GuideFavorite record);

    int updateByPrimaryKey(GuideFavorite record);
}